<style>
<!--
#cabinettoolbar{
/*border:1px solid grey;*/
/*float:right;*/
}
#cabinettoolbar li {
	float:left;
/*	height:25px;*/
}
#cabinettoolbar a{
	 padding:2px 4px;margin:1px;
}
#cabinettoolbar a:hover{
	background: #cccccc; padding:2px 4px;margin:1px;;
}
#cabinettoolbar ul{
margin:10px;
}
#cabinettoolbar a.button{
 border:1px solid grey;
 color:black;


}

-->
</style>

<div id='cabinettoolbar' >
<fieldset>
<legend><?=$this->title?></legend>

<? foreach ($this->_items as $oItem):?>
<? if ($oItem->type=='a'):?>
<a href="<?=$oItem->href?>" 
<? foreach($oItem->args as $argname=>$argvalue):?>
	<?=$argname?>="<?=$argvalue?>" 
<? endforeach;?>
><?=$oItem->text?></a>
<? elseif($oItem->type=="caption"):?>
	<?=$oItem->text?>
<? elseif($oItem->type=="button"):?>
<a href="<?=$oItem->get('href',"#")?>" class="<?=$oItem->get('class','button')?>" onclick="<?=$oItem->get('onclick','')?>" ><?=$oItem->text?></a>
<? endif;?>
<? endforeach;?>
</fieldset>
</div>